/*
 * @Descripttion: 
 * @version: 
 * @Author: hzx
 * @Date: 2021-02-25 17:35:50
 * @LastEditors: hzx
 * @LastEditTime: 2021-03-24 19:23:13
 */
'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller } = app;
    router.get('/', controller.home.index);
    require('./router/student')(app);
    require('./router/login')(app);
    require('./router/teacher')(app);
    require('./router/course')(app);
};
